﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GONES.Cache
{
    public class NoCacheStrategy:ICacheStrategy
    {
        private int _timeout;
        public void AddObject(string objId, object o)
        {
            return;
        }

        public void AddObject(string objId, object o, bool forever)
        {
            return;
        }

        public void AddObjectWithFileChange(string objId, object o, string[] files)
        {
            return;
        }

        public void AddObjectWithDepend(string objId, object o, string[] dependKey)
        {
            return;
        }

        public void RemoveObject(string objId)
        {
            return;
        }

        public object RetrieveObject(string objId)
        {
            return null;
        }

        public int TimeOut
        {
            get { return _timeout; }
            set { _timeout = value; }
        }
    }
}
